package com.neuedu.his.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.neuedu.his.common.utils.ColumnMapping;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.*;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class UmsUser {
    //创建时间
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date createtime;
    //是否有效
    private String del;
    //部门ID
    @ColumnMapping("dept_id")
    private Long deptId;
    //部门名称
    @ColumnMapping("dept_name")
    private String deptName;
    //过期时间
    private Date expire;
    //最后一次登录时间
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date lastlogin;
    //昵称
    private String nickname;
    //密码
    private String password;
    //级别ID
    @ColumnMapping("regist_level")
    private Long registLevel;
    //用户ID
    private Long userid;
    //用户名
    private String username;

}